package cn.dancepeak.system.service;

import cn.dancepeak.system.domain.Permission;
import cn.dancepeak.system.query.PermissionQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionServiceImpl {

    void add(Permission permission);

    void update(Permission permission);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    Permission getById(Long id);

    PageInfo<Permission> page(PermissionQuery permissionQuery);

    List<Permission> getAll();
}
